package pers.xukai.fullMark;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableCaching
@EnableScheduling
@EntityScan({"pers.xukai.fullMark", "pers.xukai.common"})
@EnableJpaRepositories({"pers.xukai.fullMark", "pers.xukai.common"})
@SpringBootApplication(scanBasePackages = {"pers.xukai.fullMark", "pers.xukai.common"},exclude = {SecurityAutoConfiguration.class})
@MapperScan({"pers.xukai.fullMark.dao"})
public class FullMarkApplication {
    public static void main(String[] args) {
        SpringApplication.run(FullMarkApplication.class, args);
    }
}



